﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SmartSpace.OrganizationalStructure
{
    public class Organization
    {
        public Guid Id { get; set; }
        public Guid? ParentId { get; set; }
        public string Code { get; set; }
        public string Name { get; set; }
        public string ShortName { get; set; }
        public string FullCode { get; set; }
        public string Path { get; set; }
        public int SortIndex { get; set; }
        public string TypeCode { get; set; }
        public string TypeCaption { get; set; }

        public List<Organization> Children { get; set; }
        public Organization Parent { get; set; }
    }
}
